/* --------------------------------------------------------------

   elastic-grid.css
   * Sets up an easy-to-use grid of 24 columns.

   -------------------------------------------------------------- */

.container {
  width: 100%;
  margin: 0 auto;
}

/* Use this class on any .span / container to see the grid. */
.showgrid {
    background: transparent;
}
.showgrid *.column,
.showgrid *.span-1,
.showgrid *.span-2,
.showgrid *.span-3,
.showgrid *.span-4,
.showgrid *.span-5,
.showgrid *.span-6,
.showgrid *.span-7,
.showgrid *.span-8,
.showgrid *.span-9,
.showgrid *.span-10,
.showgrid *.span-11,
.showgrid *.span-12,
.showgrid *.span-13,
.showgrid *.span-14,
.showgrid *.span-15,
.showgrid *.span-16,
.showgrid *.span-17,
.showgrid *.span-18,
.showgrid *.span-19,
.showgrid *.span-20,
.showgrid *.span-21,
.showgrid *.span-22,
.showgrid *.span-23,
.showgrid *.span-24
{
    background: #CCC;
}


/* Columns
-------------------------------------------------------------- */

/* Sets up basic grid floating and margin. */
.column, .span-1, .span-2, .span-3, .span-4, .span-5, .span-6, .span-7, .span-8, .span-9, .span-10, .span-11, .span-12, .span-13, .span-14, .span-15, .span-16, .span-17, .span-18, .span-19, .span-20, .span-21, .span-22, .span-23, .span-24 {
  float: left;
  margin-right: .8%;
}

/* The last column in a row needs this class. */
.last { margin-right: 0; }

/* Use these classes to set the width of a column. */
.span-1  {width: 3.4%;}
.span-2  {width: 7.6%;}
.span-3  {width: 11.8%;}
.span-4  {width: 16.0%;}
.span-5  {width: 20.2%;}
.span-6  {width: 24.4%;}
.span-7  {width: 28.6%;}
.span-8  {width: 32.8%;}
.span-9  {width: 37.0%;}
.span-10  {width: 41.2%;}
.span-11  {width: 45.4%;}
.span-12  {width: 49.6%;}
.span-13  {width: 53.8%;}
.span-14  {width: 58.0%;}
.span-15  {width: 62.2%;}
.span-16  {width: 66.4%;}
.span-17  {width: 70.6%;}
.span-18  {width: 74.8%;}
.span-19  {width: 79.0%;}
.span-20  {width: 83.2%;}
.span-21  {width: 87.4%;}
.span-22  {width: 91.6%;}
.span-23  {width: 95.8%;}
.span-24  {width: 100.0%;}

/* Use these classes to set the width of an input. */
input.span-1, textarea.span-1, input.span-2, textarea.span-2, input.span-3, textarea.span-3, input.span-4, textarea.span-4, input.span-5, textarea.span-5, input.span-6, textarea.span-6, input.span-7, textarea.span-7, input.span-8, textarea.span-8, input.span-9, textarea.span-9, input.span-10, textarea.span-10, input.span-11, textarea.span-11, input.span-12, textarea.span-12, input.span-13, textarea.span-13, input.span-14, textarea.span-14, input.span-15, textarea.span-15, input.span-16, textarea.span-16, input.span-17, textarea.span-17, input.span-18, textarea.span-18, input.span-19, textarea.span-19, input.span-20, textarea.span-20, input.span-21, textarea.span-21, input.span-22, textarea.span-22, input.span-23, textarea.span-23, input.span-24, textarea.span-24 {
  border-left-width: 1px;
  border-right-width: 1px;
  padding-left: 0.55%;
  padding-right: 0.55%;
}

input.span-1, textarea.span-1 { width: 2.2%; }
input.span-2, textarea.span-2 { width: 6.4%; }
input.span-3, textarea.span-3 { width: 10.6%; }
input.span-4, textarea.span-4 { width: 14.8%; }
input.span-5, textarea.span-5 { width: 19.0%; }
input.span-6, textarea.span-6 { width: 23.2%; }
input.span-7, textarea.span-7 { width: 27.4%; }
input.span-8, textarea.span-8 { width: 31.6%; }
input.span-9, textarea.span-9 { width: 35.8%; }
input.span-10, textarea.span-10 { width: 40.0%; }
input.span-11, textarea.span-11 { width: 44.2%; }
input.span-12, textarea.span-12 { width: 48.4%; }
input.span-13, textarea.span-13 { width: 52.6%; }
input.span-14, textarea.span-14 { width: 56.8%; }
input.span-15, textarea.span-15 { width: 61.0%; }
input.span-16, textarea.span-16 { width: 65.2%; }
input.span-17, textarea.span-17 { width: 69.4%; }
input.span-18, textarea.span-18 { width: 73.6%; }
input.span-19, textarea.span-19 { width: 77.8%; }
input.span-20, textarea.span-20 { width: 82.0%; }
input.span-21, textarea.span-21 { width: 86.2%; }
input.span-22, textarea.span-22 { width: 90.4%; }
input.span-23, textarea.span-23 { width: 94.6%; }
input.span-24, textarea.span-24 { width: 98.8%; }

/* Add these to a column to append empty cols. */

.append-1  { padding-right: 4.2%; }
.append-2  { padding-right: 8.4%; }
.append-3  { padding-right: 12.6%; }
.append-4  { padding-right: 16.8%; }
.append-5  { padding-right: 21.0%; }
.append-6  { padding-right: 25.2%; }
.append-7  { padding-right: 29.4%; }
.append-8  { padding-right: 33.6%; }
.append-9  { padding-right: 37.8%; }
.append-10  { padding-right: 42.0%; }
.append-11  { padding-right: 46.2%; }
.append-12  { padding-right: 50.4%; }
.append-13  { padding-right: 54.6%; }
.append-14  { padding-right: 58.8%; }
.append-15  { padding-right: 63.0%; }
.append-16  { padding-right: 67.2%; }
.append-17  { padding-right: 71.4%; }
.append-18  { padding-right: 75.6%; }
.append-19  { padding-right: 79.8%; }
.append-20  { padding-right: 84.0%; }
.append-21  { padding-right: 88.2%; }
.append-22  { padding-right: 92.4%; }
.append-23  { padding-right: 96.6%; }

/* Add these to a column to prepend empty cols. */

.prepend-1  { padding-left: 4.2%; }
.prepend-2  { padding-left: 8.4%; }
.prepend-3  { padding-left: 12.6%; }
.prepend-4  { padding-left: 16.8%; }
.prepend-5  { padding-left: 21.0%; }
.prepend-6  { padding-left: 25.2%; }
.prepend-7  { padding-left: 29.4%; }
.prepend-8  { padding-left: 33.6%; }
.prepend-9  { padding-left: 37.8%; }
.prepend-10  { padding-left: 42.0%; }
.prepend-11  { padding-left: 46.2%; }
.prepend-12  { padding-left: 50.4%; }
.prepend-13  { padding-left: 54.6%; }
.prepend-14  { padding-left: 58.8%; }
.prepend-15  { padding-left: 63.0%; }
.prepend-16  { padding-left: 67.2%; }
.prepend-17  { padding-left: 71.4%; }
.prepend-18  { padding-left: 75.6%; }
.prepend-19  { padding-left: 79.8%; }
.prepend-20  { padding-left: 84.0%; }
.prepend-21  { padding-left: 88.2%; }
.prepend-22  { padding-left: 92.4%; }
.prepend-23  { padding-left: 96.6%; }


/* Border on right hand side of a column. */
.border {
  padding-right: .3%;
  margin-right: .4%;
  border-right: 1px solid #ddd;
}

/* Border with more whitespace, spans one column. */
div.colborder {
  padding-right: 2.4%;
  margin-right: 2.5%;
  border-right: 1px solid #eee;
}


/* Use these classes on an element to push it into the
next column, or to pull it into the previous column.  */

.pull-1 { margin-left: -4.2%; }
.pull-2 { margin-left: -8.4%; }
.pull-3 { margin-left: -12.6%; }
.pull-4 { margin-left: -16.8%; }
.pull-5 { margin-left: -21.0%; }
.pull-6 { margin-left: -25.2%; }
.pull-7 { margin-left: -29.4%; }
.pull-8 { margin-left: -33.6%; }
.pull-9 { margin-left: -37.8%; }
.pull-10 { margin-left: -42.0%; }
.pull-11 { margin-left: -46.2%; }
.pull-12 { margin-left: -50.4%; }
.pull-13 { margin-left: -54.6%; }
.pull-14 { margin-left: -58.8%; }
.pull-15 { margin-left: -63.0%; }
.pull-16 { margin-left: -67.2%; }
.pull-17 { margin-left: -71.4%; }
.pull-18 { margin-left: -75.6%; }
.pull-19 { margin-left: -79.8%; }
.pull-20 { margin-left: -84.0%; }
.pull-21 { margin-left: -88.2%; }
.pull-22 { margin-left: -92.4%; }
.pull-23 { margin-left: -96.6%; }
.pull-24 { margin-left: -100.8%; }

.pull-1, .pull-2, .pull-3, .pull-4, .pull-5, .pull-6, .pull-7, .pull-8, .pull-9, .pull-10, .pull-11, .pull-12, .pull-13, .pull-14, .pull-15, .pull-16, .pull-17, .pull-18, .pull-19, .pull-20, .pull-21, .pull-22, .pull-23, .pull-24 {float: left; position:relative;}

.push-1 { margin: 0 -4.2% 1.5em 4.2%; }
.push-2 { margin: 0 -8.4% 1.5em 8.4%; }
.push-3 { margin: 0 -12.6% 1.5em 12.6%; }
.push-4 { margin: 0 -16.8% 1.5em 16.8%; }
.push-5 { margin: 0 -21.0% 1.5em 21.0%; }
.push-6 { margin: 0 -25.2% 1.5em 25.2%; }
.push-7 { margin: 0 -29.4% 1.5em 29.4%; }
.push-8 { margin: 0 -33.6% 1.5em 33.6%; }
.push-9 { margin: 0 -37.8% 1.5em 37.8%; }
.push-10 { margin: 0 -42.0% 1.5em 42.0%; }
.push-11 { margin: 0 -46.2% 1.5em 46.2%; }
.push-12 { margin: 0 -50.4% 1.5em 50.4%; }
.push-13 { margin: 0 -54.6% 1.5em 54.6%; }
.push-14 { margin: 0 -58.8% 1.5em 58.8%; }
.push-15 { margin: 0 -63.0% 1.5em 63.0%; }
.push-16 { margin: 0 -67.2% 1.5em 67.2%; }
.push-17 { margin: 0 -71.4% 1.5em 71.4%; }
.push-18 { margin: 0 -75.6% 1.5em 75.6%; }
.push-19 { margin: 0 -79.8% 1.5em 79.8%; }
.push-20 { margin: 0 -84.0% 1.5em 84.0%; }
.push-21 { margin: 0 -88.2% 1.5em 88.2%; }
.push-22 { margin: 0 -92.4% 1.5em 92.4%; }
.push-23 { margin: 0 -96.6% 1.5em 96.6%; }
.push-24 { margin: 0 -100.8% 1.5em 100.8%; }

.push-1, .push-2, .push-3, .push-4, .push-5, .push-6, .push-7, .push-8, .push-9, .push-10, .push-11, .push-12, .push-13, .push-14, .push-15, .push-16, .push-17, .push-18, .push-19, .push-20, .push-21, .push-22, .push-23, .push-24 {float: left; position:relative;}


/* Misc classes and elements
-------------------------------------------------------------- */

/* In case you need to add a gutter above/below an element */
div.prepend-top, .prepend-top {
	margin-top:1.5em;
}
div.append-bottom, .append-bottom {
	margin-bottom:1.5em;
}

/* Use a .box to create a padded box inside a column.  */
.box {
  padding: 1.5em;
  margin-bottom: 1.5em;
  background: #e5eCf9;
}

/* Use this to create a horizontal ruler across a column. */
hr {
  background: #ddd;
  color: #ddd;
  clear: both;
  float: none;
  width: 100%;
  height: 1px;
  margin: 0 0 1.4em;
  border: none;
}
hr.space {
  background: #fff;
  color: #fff;
  visibility: hidden;
}


/* Clearing floats without extra markup
   Based on How To Clear Floats Without Structural Markup by PiE
   [http://www.positioniseverything.net/easyclearing.html] */

.clearfix:after, .container:after {
  content: "\0020";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
  overflow:hidden;
}
.clearfix, .container {display: block;}

/* Regular clearing
   apply to column that should drop below previous ones. */

.clear { clear:both; }
